/***********************************************************************
	filename: 	DaterRecSignUp.h
	created:	13/5/2012
	author:		4Ys
	
	purpose:	Implements classes to recover orders from server to client,
				specifically for signup.	            
*************************************************************************/

#include "DaterRecSignUp.h"
#include "DaterUserManager.h"
#include <iostream>

namespace Dater
{
	//Login
	int RecSignUp::execute()
	{
		if(_splitedData[1] == "1")
		{
			int uid;

			uid = atoi(_splitedData[2].c_str());

			return uid;
		}
		else
		{
			_errorMsg = _splitedData[2];
			return 0;
		}
	}
}